#include "main.cpp"

LibMat::LibMat()
{
    cout << "LibMat::LibMat default constructor!" << endl;
}
LibMat::~LibMat()
{
    cout << "LibMat::~LibMat default destructor!" << endl;
}
void LibMat::show() const
{
    cout << "LibMat::show() ----i am a LibMat show!" << endl;
}
void show(const LibMat& mat)
{
    cout << "in globle show(), about to show mat.show()" << endl;
    mat.show();
}

int main()
{
    //LibMat libmat;
    Book book("student", "dongfang");
    show(book);
    return 0;
}